<cfcomponent output="false">

	<!---- properties ---->
	<cfproperty name="Productid" type="numeric"  />
	<cfproperty name="Refcategoryid" type="numeric"  />
	<cfproperty name="Name" type="string"  />
	<cfproperty name="Description" type="string"  />
	<cfproperty name="Price" type="numeric"  />
	<cfproperty name="Imagename" type="string"  />
	
	<cfset INSTANCE = {} />
	<cfset INSTANCE.Productid = "" />
	<cfset INSTANCE.Refcategoryid = "" />
	<cfset INSTANCE.Name = "" />
	<cfset INSTANCE.Description = "" />
	<cfset INSTANCE.Price = "" />
	<cfset INSTANCE.Imagename = "" />
	

	<!---- init ---->
	<cffunction name="init" returntype="any">
		<cfreturn this />
	</cffunction>

	
	 <!----INFO:If This Application is to be run under ColdFusion 9 then the following getters and setters can be removed.
	 			If you delete the getters and setters you should enable use-implicit-getters option in serviceconfig.xml present in webroot/WEB-INF/flex ---->
	
	<!---- Productid accesor ---->
	<cffunction name="getProductid" access="remote" output="false" returnType="Any">
		<cfreturn INSTANCE.Productid />
	</cffunction>
	<cffunction name="setProductid" access="remote" output="false" returnType="void">
		<cfargument name="value" required="true" type="any" />
		<cfset INSTANCE.Productid = ARGUMENTS.value />
	</cffunction>
	
	<!---- Refcategoryid accesor ---->
	<cffunction name="getRefcategoryid" access="remote" output="false" returnType="Any">
		<cfreturn INSTANCE.Refcategoryid />
	</cffunction>
	<cffunction name="setRefcategoryid" access="remote" output="false" returnType="void">
		<cfargument name="value" required="true" type="any" />
		<cfset INSTANCE.Refcategoryid = ARGUMENTS.value />
	</cffunction>
	
	<!---- Name accesor ---->
	<cffunction name="getName" access="remote" output="false" returnType="Any">
		<cfreturn INSTANCE.Name />
	</cffunction>
	<cffunction name="setName" access="remote" output="false" returnType="void">
		<cfargument name="value" required="true" type="any" />
		<cfset INSTANCE.Name = ARGUMENTS.value />
	</cffunction>
	
	<!---- Description accesor ---->
	<cffunction name="getDescription" access="remote" output="false" returnType="Any">
		<cfreturn INSTANCE.Description />
	</cffunction>
	<cffunction name="setDescription" access="remote" output="false" returnType="void">
		<cfargument name="value" required="true" type="any" />
		<cfset INSTANCE.Description = ARGUMENTS.value />
	</cffunction>
	
	<!---- Price accesor ---->
	<cffunction name="getPrice" access="remote" output="false" returnType="Any">
		<cfreturn INSTANCE.Price />
	</cffunction>
	<cffunction name="setPrice" access="remote" output="false" returnType="void">
		<cfargument name="value" required="true" type="any" />
		<cfset INSTANCE.Price = ARGUMENTS.value />
	</cffunction>
	
	<!---- Imagename accesor ---->
	<cffunction name="getImagename" access="remote" output="false" returnType="Any">
		<cfreturn INSTANCE.Imagename />
	</cffunction>
	<cffunction name="setImagename" access="remote" output="false" returnType="void">
		<cfargument name="value" required="true" type="any" />
		<cfset INSTANCE.Imagename = ARGUMENTS.value />
	</cffunction>
	

</cfcomponent>
